package com.dykj.fireFighting.api.base.effecttimesetting.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 有效时间设置
 * @Author zly
 * @Date  2021-08-12 14:35:29
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "有效时间设置")
@TableName("effective_time_setting")
public class EffectiveTimeSetting extends Model<EffectiveTimeSetting> {
	private static final long serialVersionUID = 1L;

	@TableId
	private String id;
	/**
	 * 火警有效复核率的时间
	 */
    @ApiModelProperty(value = "火警有效复核率的时间")
	@TableField("fire_alarm_time")
	private Integer fireAlarmTime;
	/**
	 * 故障有效恢复率的时间
	 */
    @ApiModelProperty(value = "故障有效恢复率的时间")
	@TableField("fault_time")
	private Integer faultTime;
	/**
	 * 隐患（维修完成）整改有效时间
	 */
    @ApiModelProperty(value = "隐患（维修完成）整改有效时间")
	@TableField("hidden_danger_time")
	private Integer hiddenDangerTime;
	/**
	 * 值班记录上传有效时间
	 */
    @ApiModelProperty(value = "值班记录上传有效时间")
	@TableField("duty_time")
	private Integer dutyTime;

	@ApiModelProperty(value = "巡更报告上传合格时间")
	@TableField("patrol_time")
	private Integer patrolTime;


	@TableField("create_by")
	private String createBy;
	@TableField("create_by_name")
	private String createByName;
	@TableField("create_time")
	private Date createTime;
	/**
	 * 0未删除1已删除
	 */
    @ApiModelProperty(value = "0未删除1已删除")
	@TableField("is_del")
	private Integer isDel;
	@TableField("unit_id")
	private String unitId;



}
